﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OCompletingCheckList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.OCompletingCheckList" %>

<form id="pagerForm" method="post" action="MacModel/OCompletingCheckList.aspx">
<input type="hidden" name="CommonFiled" value="<%=CommonFiled %>" />
<input type="hidden" name="CommonValue" value="<%=CommonValue %>" />
<input type="hidden" name="DownlineDateFrom" value="<%=DownlineDateFrom %>" />
<input type="hidden" name="DownlineDateTo" value="<%=DownlineDateTo %>" />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="MacModel/OCompletingCheckList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    查询条件：
                </td>
                <td>
                    <select name="CommonFiled">
                        <option value="MachineType" <%=CommonFiled=="MachineType"?"selected":"" %>>机型</option>
                        <option value="SerialNumber" <%=CommonFiled=="SerialNumber"?"selected":"" %>>机号</option>
                        <option value="EngineNumber" <%=CommonFiled=="EngineNumber"?"selected":"" %>>发动机号</option>
                        <option value="Bucket" <%=CommonFiled=="Bucket"?"selected":"" %>>铲斗</option>
                        <option value="TeShuPeiGuan" <%=CommonFiled=="TeShuPeiGuan"?"selected":"" %>>特殊配管</option>
                        <option value="Platform" <%=CommonFiled=="Platform"?"selected":"" %>>平台</option>
                        <option value="FrameUnder" <%=CommonFiled=="FrameUnder"?"selected":"" %>>下车架</option>
                        <option value="TuiTuBan" <%=CommonFiled=="TuiTuBan"?"selected":"" %>>推土板</option>
                        <option value="BengNum" <%=CommonFiled=="BengNum"?"selected":"" %>>泵</option>
                        <option value="DuoLuFaNum" <%=CommonFiled=="DuoLuFaNum"?"selected":"" %>>C/V多路阀</option>
                        <option value="HuiZhuanMaDaNum" <%=CommonFiled=="HuiZhuanMaDaNum"?"selected":"" %>>回转马达</option>
                        <option value="GunPanNum" <%=CommonFiled=="GunPanNum"?"selected":"" %>>滚盘</option>
                        <option value="ZYHZJTNum" <%=CommonFiled=="ZYHZJTNum"?"selected":"" %>>R/J中央回转接头</option>
                        <option value="YYYXBHNum" <%=CommonFiled=="YYYXBHNum"?"selected":"" %>>液压油箱编号</option>
                        <option value="RYXBHNum" <%=CommonFiled=="RYXBHNum"?"selected":"" %>>燃油箱编号</option>
                        <option value="XZMDZNum" <%=CommonFiled=="XZMDZNum"?"selected":"" %>>行走马达左</option>
                        <option value="XZMDYNum" <%=CommonFiled=="XZMDYNum"?"selected":"" %>>行走马达右</option>
                        <option value="TTBCYLZNum" <%=CommonFiled=="TTBCYLZNum"?"selected":"" %>>推土板CYL左</option>
                        <option value="TTBCYLYNum" <%=CommonFiled=="TTBCYLYNum"?"selected":"" %>>推土板CYL右</option>
                        <option value="DBCYLNum" <%=CommonFiled=="DBCYLNum"?"selected":"" %>>大臂CYL</option>
                        <option value="XBCYLNum" <%=CommonFiled=="XBCYLNum"?"selected":"" %>>小臂CYL</option>
                         <option value="CDCYLNum" <%=CommonFiled=="CDCYLNum"?"selected":"" %>>铲斗CYL</option>
                          <option value="DBBHNum" <%=CommonFiled=="DBBHNum"?"selected":"" %>>大臂编号</option>
                            <option value="XBBHNum" <%=CommonFiled=="XBBHNum"?"selected":"" %>>小臂编号</option>
                    </select>
                </td>
                <td>
                    等于：
                        <input name="CommonValue" type="text" value="<%=CommonValue %>" />
                </td>
                <td>
                    检查日期:
                </td>
                <td>
                    从<input name="DownlineDateFrom" class="date" type="text" value="<%=DownlineDateFrom %>"  />到<input name="DownlineDateTo" type="text" class="date" value="<%=DownlineDateTo %>"  />
                </td>
                <td>
                     <div class="subBar">
            <ul>
                <li>
                    <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                </li>
            </ul>
        </div>
                </td>
            </tr>
        </table>       
    </div>
</div>
<div class="pageContent">
    <div class="panelBar" style=" height:70px!important;">
        <ul class="toolBar" >
              <% if (HasPower(IHISCETeim.Web.Permission.新增))
             {%>
            <li><a class="add" href="MacModel/OC40NSAdd.aspx" target="navTab" title="添加40NS完成检查书" rel="OC55NSLAdd"><span>添加40NS完成检查书</span></a></li>
            <li><a class="add" href="MacModel/OC55NSLGB3Add.aspx" target="navTab" title="添加55NSLGB3完成检查书" rel="OC55NSLAdd"><span>添加55NSLGB3完成检查书</span></a></li>
            <li><a class="add" href="MacModel/OC68NSGB3Add.aspx" target="navTab" title="添加68NSGB3完成检查书" rel="OC55NSLAdd"><span>添加68NSGB3完成检查书</span></a></li>
            <li><a class="add" href="MacModel/OC80NSGB3Add.aspx" target="navTab" title="添加80NSGB3完成检查书" rel="OC80NSAdd"><span>添加80NSGB3完成检查书</span></a></li>
              <br style=" clear:both;"/>
             <li><a class="add" href="MacModel/OC100NSGB3Add.aspx" target="navTab" title="添加100NSGB3完成检查书" rel="OC55NSLAdd"><span>添加100NSGB3完成检查书</span></a></li>        
            <li><a class="add" href="MacModel/OC100NSTAdd.aspx" target="navTab" title="添加100NST完成检查书" rel="OC100NSTAdd"><span>添加100NST完成检查书</span></a></li>            
            <li><a class="add" href="MacModel/OC135NSAdd.aspx" target="navTab" title="添加135NS完成检查书" rel="OC55NSLAdd"><span>添加135NS完成检查书</span></a></li>
           <%} %>
             <br style=" clear:both;"/>
            <% if (HasPower(IHISCETeim.Web.Permission.删除))
               {%>
            <li><a class="delete" href="sysAjaxDone.ashx?ajaxmethod=DeleteOCompletingCheck&CCID={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
           <%} %>
           <% if (HasPower(IHISCETeim.Web.Permission.导出))
             {%>
            <li><a class="add" href="MacModel/ExeclOCompletingCheckNGList.aspx?DownlineDateFrom=<%=DownlineDateFrom %>&DownlineDateTo=<%=DownlineDateTo %>" target="_blank"   title="导出"><span>导出NG项</span></a></li>
           <%} %>
            <% if (HasPower(IHISCETeim.Web.Permission.导出))
             {%>
            <li><a class="add" href="MacModel/OCExportXNJCValue.aspx" target="_blank"   title="导出性能检查值"><span>导出性能检查值</span></a></li>
           <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="155">
        <thead>
            <tr  >                
                <th  width="120px"  orderField="MachineType" class="asc">
                    机型
                </th>
                <th   width="120px" orderField="SerialNumber" class="asc">
                    机号
                </th>
                <th  width="120px" orderField="CheckDate" class="asc">
                    检查日期
                </th>
                <th width="120px">检查人员</th>
                <th  width="120px">
                    发动机号
                </th>
                <th   width="120px" align="center">
                    是否合格
                </th>
               <%-- <th >
                    铲斗
                </th>
                <th >
                    特殊配管
                </th> 
                <th >
                    平台
                </th>
                <th >
                    下车架
                </th> 
                <th >
                    推土板
                </th>--%>
                <th   width="120px" align="center">查看</th>   
                <th   width="120px" align="center">编辑</th>   
                <th>&nbsp;</th>             
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("CCID") %>">
				<td><%# Eval("MachineType")%></td>
				<td >
                    <%# Eval("SerialNumber")%>
                </td>
				<td ><%# Convert.ToDateTime(Eval("CheckDate")).ToString("yyyy-MM-dd")%></td>
                <td><%# Eval("CheckMan") %></td>
				<td><%# Eval("EngineNumber")%></td>
				<td ><%# Convert.ToBoolean(Eval("HeGe"))?"合格":"不合格"%></td>
				<%--<td><%# Eval("Bucket")%></td>
                <td><%# Eval("TeShuPeiGuan")%></td>
                <td><%# Eval("Platform")%></td>
                <td><%# Eval("FrameUnder")%></td>
                <td><%# Eval("TuiTuBan")%></td>--%>
                <td align="center">
                    <a  class="" target="navTab" title="查看[<%#Eval("SerialNumber") %>]完成检查书" rel="view<%#Eval("SerialNumber") %>" href="<%# GetViewUrl(Eval("MachineType"),Eval("CCID"),0) %>">查看</a>
                </td>
                <td>
                    <a  class="" target="navTab" title="编辑[<%#Eval("SerialNumber") %>]完成检查书" rel="edit<%#Eval("SerialNumber") %>" href="<%# GetViewUrl(Eval("MachineType"),Eval("CCID"),1) %>">修改</a>
                </td>
                <td>&nbsp;</td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
